package com.qf.ssm.mapper;

import com.qf.ssm.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ISALYL
 * @create 2021-10-12 16:22
 */
public interface OrderAppMapper {

    List<Order> selectOrder(@Param("memberId") Long memberId);

    List<Order> selectOrderByName(@Param("memberId") Long memberId, @Param("orderName") Long orderName);

    int updateOrderName(@Param("order") Order order);

    int cancelOrderName(@Param("order") Order order);

    int receiveOrderName(@Param("order") Order order);

    int sendOrderName(@Param("order") Order order);

    int payOrderName(@Param("order") Order order);

    int completeOrderName(@Param("order") Order order);

    Integer statusOrderName(@Param("order") Order order);

    Integer delOrder(@Param("orderId") Long orderId);
}
